#include<iostream>

//int main()
//{
//	int i = 0x1234;
//	char c = (char)i;
//	printf("%x\n", c);
//	return 0;
//}

union num
{
	int i;
	char c;
};
int main()
{
	union num s;
	s.i = 0x1234;
	printf("%x\n", s.c);
	return 0;
}